﻿namespace Sgr.Notifications
{
    public class NotificationMessage
    {
        /// <summary>
        /// 事件编码
        /// </summary>
        public string EventCode { get; set; } = string.Empty;

        /// <summary>
        /// 接收人ID列表
        /// </summary>
        public IList<string> ReceiverIds { get; set; } = new List<string>();

        /// <summary>
        /// 模板参数
        /// </summary>
        public Dictionary<string, string> Params { get; set; } = new Dictionary<string, string>();

        /// <summary>
        /// 优先级：1-高，2-中，3-低
        /// </summary>
        public int Priority { get; set; } = 1;
    }
}